package com.example.designpattern.creator.builder;

public class TestBuilder {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		User user = new User.UserBuilder("John", "Kerry").address("Washington DC").email("kerry@whitehouse.com").phoneNumber("123456789").build();
		System.out.println(user.getAddress());
		System.out.println(user.getEmail());
		System.out.println(user.getFirstName());
		System.out.println(user.getLastName());
		System.out.println(user.getPhoneNumber());
	}

}
